Skip to main content

Tab: Files

On this tab of the generic device editor, you can transfer files between CODESYS (host) and the PLC. If the communication settings are correct and the PLC is online, then CODESYS establishes the connection automatically to the PLC for the duration of the file transfer.

Table 43. Host / Runtime

Access to the file system of the host with the functionalities of a standard file manager

Location

Current directory for the file transfer on the host side

_cds_icon_folder.png

Opens a dialog to create a new directory in the set path

_cds_icon_delete_from_list.png

Deletes the selected files or directories

_cds_icon_update.png

Updates the list of files and directories there for the set location

_cds_button_double_arrow_left.png
_cds_button_double_arrow_right.png

Copies the selected files and directories to the respective other file system from the host and runtime system

If a file is not already available in the target directory, then it is created. If it is already available and not write-protected, then it is overwritten. Then a corresponding message is displayed.

_cds_button_double_arrow_right.png: Corresponds to the Write File to Controller command

_cds_button_double_arrow_left.png: Corresponds to the Write File from Controller command



Double-clicking a file

Opens the selected file with its Windows default program

Alternative: Select file + Enter key

Example: TXT file opens in Windows Notepad

Note: Opening with Windows default programs is possible only on the host side.

Tip

By default, the Write File to Controller and Write File from Controller commands are not included in any menu. You can insert the into a menu by means of the Tools → Customize dialog in the Online command category.